let releasedArticleList = [{
  articleId: 12384989841820801,
  articleTitle: '测试文章1',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 10,
  template: '',
  urlPath: '',
  ordinal: '1',
  isUpTop: '1',
  updateTime: '2019-01-30 15:32:30',
  type: 'custom'
}, {
  articleId: 12384375841820801,
  articleTitle: '测试文章22',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 12,
  template: '',
  urlPath: '',
  ordinal: '2',
  updateTime: '2019-12-31 15:32:30',
  type: 'outlink'
}, {
  articleId: 12384375841809301,
  articleTitle: '测试文章333',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 102,
  template: '',
  urlPath: '',
  ordinal: '3',
  updateTime: '2020-01-01 15:32:30',
  type: 'custom'
}, {
  articleId: 12380925841809301,
  articleTitle: '测试文章4444',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 762,
  template: '',
  urlPath: '',
  ordinal: '4',
  updateTime: '2020-01-02 15:32:30',
  type: 'custom'
}, {
  articleId: 12380545841809301,
  articleTitle: '测试文章55555',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 34,
  template: '',
  urlPath: '',
  ordinal: '5',
  updateTime: '2020-01-03 15:32:30',
  type: 'custom'
}, {
  articleId: 12380545841274301,
  articleTitle: '测试文章666666',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 34,
  template: '',
  urlPath: '',
  ordinal: '5',
  updateTime: '2020-12-04 15:32:30',
  type: 'custom'
}, {
  articleId: 12380545841800821,
  articleTitle: '测试文章7777777',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 92,
  template: '',
  urlPath: '',
  ordinal: '93',
  updateTime: '2020-01-05 15:32:30',
  type: 'custom'
}, {
  articleId: 12092545841809301,
  articleTitle: '测试文章88888888',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 83,
  template: '',
  urlPath: '',
  ordinal: '75',
  updateTime: '2020-01-08 15:32:30',
  type: 'custom'
}, {
  articleId: 12375345841809301,
  articleTitle: '测试文章999999999',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 39,
  template: '',
  urlPath: '',
  ordinal: '5',
  updateTime: '2020-01-09 15:32:30',
  type: 'custom'
}, {
  articleId: 12384745841809301,
  articleTitle: '测试文章101010101010101010',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 94,
  template: '',
  urlPath: '',
  ordinal: '59',
  updateTime: '2020-01-10 15:32:30',
  type: 'outlink'
}]

let pendingArticleList = [{
  articleId: 123847232841809301,
  articleTitle: '测试文章1111111111',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 0,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/timg.jpg',
  keyword: null,
  labelId: '',
  readNumber: 37,
  template: '',
  urlPath: '',
  ordinal: '12',
  updateTime: '2020-01-06 15:32:30'
}, {
  articleId: 123847232809209301,
  articleTitle: '测试文章121212121212',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 0,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/timg.jpg',
  keyword: null,
  labelId: '',
  readNumber: 0,
  template: '',
  urlPath: '',
  ordinal: '12',
  updateTime: ''
}, {
  articleId: 1238472320976209301,
  articleTitle: '测试文章13131313131313',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 0,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/timg.jpg',
  keyword: null,
  labelId: '',
  readNumber: 0,
  template: '',
  urlPath: '',
  ordinal: '57',
  updateTime: ''
}]

let deletedArticleList = [{
  articleId: 12384989841820801,
  articleTitle: '测试文章1',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 10,
  template: '',
  urlPath: '',
  ordinal: '1',
  deleteTime: '2019-01-30 15:32:30'
}, {
  articleId: 12384375841820801,
  articleTitle: '测试文章22',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 12,
  template: '',
  urlPath: '',
  ordinal: '2',
  deleteTime: '2019-12-31 15:32:30'
}, {
  articleId: 12384375841809301,
  articleTitle: '测试文章333',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 102,
  template: '',
  urlPath: '',
  ordinal: '3',
  deleteTime: '2020-01-01 15:32:30'
}, {
  articleId: 12380925841809301,
  articleTitle: '测试文章4444',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 762,
  template: '',
  urlPath: '',
  ordinal: '4',
  deleteTime: '2020-01-02 15:32:30'
}, {
  articleId: 12380545841809301,
  articleTitle: '测试文章55555',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 34,
  template: '',
  urlPath: '',
  ordinal: '5',
  deleteTime: '2020-01-03 15:32:30'
}, {
  articleId: 12380545841274301,
  articleTitle: '测试文章666666',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 34,
  template: '',
  urlPath: '',
  ordinal: '5',
  deleteTime: '2020-12-04 15:32:30'
}, {
  articleId: 12380545841800821,
  articleTitle: '测试文章7777777',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 92,
  template: '',
  urlPath: '',
  ordinal: '93',
  deleteTime: '2020-01-05 15:32:30'
}, {
  articleId: 12092545841809301,
  articleTitle: '测试文章88888888',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 83,
  template: '',
  urlPath: '',
  ordinal: '75',
  deleteTime: '2020-01-08 15:32:30'
}, {
  articleId: 12375345841809301,
  articleTitle: '测试文章999999999',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 39,
  template: '',
  urlPath: '',
  ordinal: '5',
  deleteTime: '2020-01-09 15:32:30'
}, {
  articleId: 12384745841809301,
  articleTitle: '测试文章1010101010',
  articleDesc: '这是一段很长很长的摘要',
  author: 'Bryan',
  flowStatus: 1,
  hasAttach: false,
  imagePath: 'http://static.oss.yuemia.com/20170410095843_SEvMy.thumb.700_0.jpeg',
  keyword: null,
  labelId: '',
  readNumber: 94,
  template: '',
  urlPath: '',
  ordinal: '59',
  deleteTime: '2020-01-10 15:32:30'
}]

let readRecordList = [{
  action: '阅读',
  articleId: 5525436576365246464,
  createTime: '2020-04-20 12:30:38',
  id: '56557557657657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}, {
  action: '收藏',
  articleId: 5525436576365246464,
  createTime: '2020-04-20 12:34:38',
  id: '56557555657657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}, {
  action: '收藏',
  articleId: 5525436576655246464,
  createTime: '2020-04-20 12:34:38',
  id: '565575556543257',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}, {
  action: '收藏',
  articleId: 552543657636524464,
  createTime: '2020-04-20 12:34:38',
  id: '56557553357657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}, {
  action: '收藏',
  articleId: 5525433376365246464,
  createTime: '2020-04-20 12:34:38',
  id: '56237555657657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '粉丝',
  wechatId: '5436tg56457y45747'
}, {
  action: '点赞',
  articleId: 552543657636526664,
  createTime: '2020-04-20 12:34:38',
  id: '56557555233657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}, {
  action: '收藏',
  articleId: 5525436576365246464,
  createTime: '2020-04-20 12:34:38',
  id: '56557555657657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '员工',
  wechatId: '5436tg56457y45747'
}, {
  action: '阅读',
  articleId: 552543657636446464,
  createTime: '2020-04-20 12:34:38',
  id: '56557556757657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}, {
  action: '收藏',
  articleId: 5525436523365246464,
  createTime: '2020-04-20 12:34:38',
  id: '56557545657657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}, {
  action: '收藏',
  articleId: 5525436573465246464,
  createTime: '2020-04-20 12:34:38',
  id: '56545555657657',
  ip: '192.1.2.33',
  nickName: '小魔仙',
  openid: 'ddehuhi32h_dwhedhqw3',
  tenantId: 't4tg354rgy35y53y',
  updateTime: '2020-04-21 12:30:38',
  userType: '医生',
  wechatId: '5436tg56457y45747'
}]

export default {
  'get|/api/knowledge/article/admin/publish/list': option => {
    return {
      status: 200,
      code: 200,
      message: 'success',
      total: 10,
      data: {
        list: releasedArticleList
      }
    }
  },
  'get|/api/knowledge/article/admin/pending/list': option => {
    return {
      status: 200,
      code: 200,
      message: 'success',
      total: 10,
      data: {
        list: pendingArticleList
      }
    }
  },
  'get|/api/knowledge/article/admin/all/list': option => {
    return {
      status: 200,
      code: 200,
      message: 'success',
      total: 10,
      data: {
        list: pendingArticleList.concat(releasedArticleList)
      }
    }
  },
  'get|/api/knowledge/admin/article/list/deleted': option => {
    return {
      status: 200,
      code: 200,
      message: 'success',
      total: 10,
      data: {
        list: deletedArticleList
      }
    }
  },
  'get|/api/knowledge/manage/article/readRecord': option => {
    return {
      status: 200,
      code: 200,
      message: 'success',
      total: 10,
      data: {
        list: readRecordList
      }
    }
  },
  'get|/api/knowledge/manage/article/analysis': option => {
    return {
      status: 200,
      code: 200,
      message: 'success',
      data: {
        articleId: 1,
        brushReadNum: 378,
        collectNum: 1,
        createTime: '',
        creatorId: 1,
        readNum: 1,
        tenantId: 1,
        thumbUpNum: 1,
        updateTime: '',
        wechatId: 0
      }
    }
  },
  'get|/api/knowledge/manage/course/pending': option => {
    return {
      status: 200,
      code: 200,
      message: 'success',
      total: 10,
      data: {
        list: [{
          courseId: '4353464745474',
          courseTitle: '课程名'
        }]
      }
    }
  }
}
